'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get("/expenditure",controller.expenditure.index);
  router.get("/income",controller.inCome.index);
  router.get("/selectIcon",controller.selectIcon.index);
  router.post("/add",controller.add.index);
  router.get("/user",controller.userInfo.index);
};
